<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="js/jQuery/uploadify.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="js/jQuery/jquery-1.6.2.min.js" ></script>
<script type="text/javascript" src="js/jQuery/swfobject.js" ></script>
<script type="text/javascript" src="js/jQuery/jquery.uploadify.v2.1.4.min.js" ></script>
<script type="text/javascript">
<!--
   $(document).ready(function(){
    $("#uploadTest").uploadify({
     'uploader'       : 'js/jQuery/uploadify.swf',
     'script'         : 'upload.action',
     'cancelImg'      : 'js/jQuery/cancel.png',
     'fileDataName'   : 'myFile',
     'queueID'        : 'fileQueue',
     'auto'           : false,
     'multi'          : true,
     'button Text'    : " 浏 览 ",
     'simUploadLimit' : 20,
     'sizeLimit'      : 999999999999,
     'queueSizeLimit' : 20,
     'fileDesc'       : '支持格式：jpg,gif,png,bmp,rar',
     'fileExt'         : '*.jpg;*.gif,*.jpeg,*.png,*.bmp,*.rar'
    });
   });
//-->
</script>
   
</head>

<body>

<div id="fileQueue"></div>
    <input type="file" name="myFile" id="uploadTest" >
    <a href="javascript:$('#uploadTest').uploadifyUpload()">上传</a>
    <a href="javascript:$('#uploadTest').uploadifyClearQueue()">取消上传</a>
</body>
</html>
